<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
    <title><?php echo isset($title)?$title:'Login';?></title>
    <?php 
    $JSs = array('skin/js/jquery-1.10.2.min.js','skin/js/admin.js');
    $CSSs = array('skin/css/login.css',
        //'skin/css/style.css'
        );
    ?>
    
    <?php foreach($CSSs as $css):?>
    <link rel="stylesheet" type="text/css" href="<?php echo base_url($css);?>" />
    <?php endforeach;?>
    <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" />

    <?php foreach($JSs as $js):?>
    <script type="text/javascript" src="<?php echo base_url($js);?>"></script>
    <?php endforeach;?>
    <!--script type="text/javascript" src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script-->
    
    <script type="text/javascript">
        var base_url = '<?php echo site_url('')?>';
        var base_url = '<?php echo site_url('admin')?>';
    </script>
    <!-- MOBILE VIEWPORT START -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!-- MOBILE VIEWPORT END -->
    
</head>

<body>
    <div>
        <div class="tianggeloginbgup"></div>
        <div class="tianggeloginbgdown">
            <div id="user_list">
                <?php echo isset($_userform)?$_userform:''; ?>
                <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
                    <?php echo isset($_tabs)?$_tabs:''; ?>
                    <?php echo $_content; ?>
                </div>
            </div>
		</div>
    </div>
	<span id="footerdetect"></span>
    <script src="<?php echo base_url('skin/js/resize-iframe.js'); ?>"></script>
</body>
</html>